<!DOCTYPE html>
<html>
	<head>
		<title><%= @title.nil? ? "QCafe" : @title%></title>
		<%= stylesheet_link_tag    "application", :media => "all" %>
		<%= csrf_meta_tags %>
	</head>
	<body>
		<div id="wrap0">
			<%= render "shared/topbar" %>

			<%= yield %>

			<%= render "shared/footer" %>
		</div>
		<%= javascript_include_tag "application" %>
		<%= yield :foot_scripts %>
	</body>
</html>
